import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.io.File;

class ReadSimpleFile
	{
	public static void main(String args[])
		{
		BufferedReader br = null;
		
		try
			{
			String currentLine;
			
			br = new BufferedReader(new FileReader("D:\\Java\\Practice\\sambits-exercises\\Aug5\\abc.txt"));
			
			while((currentLine = br.readLine())!=null)
				{
				System.out.println(currentLine);
				}
			
			}
			
			
		catch(IOException ioe)
			{
			ioe.printStackTrace();
			}
		finally
			{
			try
				{
				br.close();
				}
			catch(Exception e)
				{
				
				}
			}
		}
	}